<div class="container">
  <div *ngIf="catid">
    <goods-list #goodsList [showType]="1" [rowClass]="'row mg-b-15'" [colClass]="'col-md-3 col-sm-4 col-xs-6'" [colInRow]="4" [PageSize]="12" [PageNo]="currentPage" [Cat]="catid"
      [query]=""></goods-list>

      <div class="pages text-center">
          <pagination [previousText]="'&laquo;'" [nextText]="'&raquo;'" [(ngModel)]="curPageNum" [itemsPerPage]="12"  [rotate]="false" (numPages)="numPages = $event" [maxSize]="5" (pageChanged)="pageChanged($event)" [totalItems]="goodsList.totalPages*12"></pagination>
      </div>
  </div>

</div>
